package com.paobuji.aidebao.myapplication.bean;

import java.util.List;

/**
 * Created by lenovo on 2017/3/13.
 */

public class GetRankingList {

    /**
     * code : 0
     * msg : 成功
     * data : {"extra":{"totalSize":10,"size":8,"totalPage":2,"page":0},"collectionlist":[{"allCir":16.45,"userImg":"","allDis":15.5,"id":2,"allTime":2555,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":1,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":3,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":4,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":5,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":6,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":7,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":8,"allTime":0,"username":""}]}
     */

    private int code;
    private String msg;
    /**
     * extra : {"totalSize":10,"size":8,"totalPage":2,"page":0}
     * collectionlist : [{"allCir":16.45,"userImg":"","allDis":15.5,"id":2,"allTime":2555,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":1,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":3,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":4,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":5,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":6,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":7,"allTime":0,"username":""},{"allCir":0,"userImg":"","allDis":0,"id":8,"allTime":0,"username":""}]
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalSize : 10
         * size : 8
         * totalPage : 2
         * page : 0
         */

        private ExtraBean extra;
        /**
         * allCir : 16.45
         * userImg :
         * allDis : 15.5
         * id : 2
         * allTime : 2555
         * username :
         */

        private List<CollectionlistBean> collectionlist;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public List<CollectionlistBean> getCollectionlist() {
            return collectionlist;
        }

        public void setCollectionlist(List<CollectionlistBean> collectionlist) {
            this.collectionlist = collectionlist;
        }

        public static class ExtraBean {
            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class CollectionlistBean {
            private double allCir;
            private String userImg;
            private double allDis;
            private int id;
            private int allTime;
            private String username;

            public double getAllCir() {
                return allCir;
            }

            public void setAllCir(double allCir) {
                this.allCir = allCir;
            }

            public String getUserImg() {
                return userImg;
            }

            public void setUserImg(String userImg) {
                this.userImg = userImg;
            }

            public double getAllDis() {
                return allDis;
            }

            public void setAllDis(double allDis) {
                this.allDis = allDis;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAllTime() {
                return allTime;
            }

            public void setAllTime(int allTime) {
                this.allTime = allTime;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }
        }
    }
}
